let glueType = {
    "java": "GLUE_GROOVY",
    "shell": "GLUE_SHELL",
    "python": "GLUE_PYTHON",
    "php": "GLUE_PHP",
    "nodejs": "GLUE_NODEJS",
    "powershell": "GLUE_POWERSHELL",
    "commandLine": "GLUE_COMMANDLINE",
    "sql": "GLUE_SQL",
    "etl": "GLUE_ETL",
    "workflow": "GLUE_WORKFLOW"
}

export let admin = { name: 'admin', role: 'SuperAdmin' }

export function getGlueType(glue) {
    return glueType[glue] || "BEAN";
}

export const publicKey = ref(null)

import { production } from '@/utils/request'

export const apiPrefix = production ? "https://api.dansj.cn" : "/api"
export const consolePageUrl = production ? "https://console.dansj.cn" : "http://localhost:7777"